Optimal. Leaf size=27 \[ a \sqrt{c x^2}+\frac{1}{2} b x \sqrt{c x^2} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0040651, antiderivative size = 27, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 18, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.056, Rules used = {15} \[ a \sqrt{c x^2}+\frac{1}{2} b x \sqrt{c x^2} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 15
Rubi steps
\begin{align*} \int \frac{\sqrt{c x^2} (a+b x)}{x} \, dx &=\frac{\sqrt{c x^2} \int (a+b x) \, dx}{x}\\ &=a \sqrt{c x^2}+\frac{1}{2} b x \sqrt{c x^2}\\ \end{align*}
Mathematica [A] time = 0.0045681, size = 24, normalized size = 0.89 \[ \frac{c x^2 (2 a+b x)}{2 \sqrt{c x^2}} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.002, size = 17, normalized size = 0.6 \begin{align*}{\frac{bx+2\,a}{2}\sqrt{c{x}^{2}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.4784, size = 39, normalized size = 1.44 \begin{align*} \frac{1}{2} \, \sqrt{c x^{2}}{\left (b x + 2 \, a\right )} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.194566, size = 29, normalized size = 1.07 \begin{align*} a \sqrt{c} \sqrt{x^{2}} + \frac{b \sqrt{c} x \sqrt{x^{2}}}{2} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.0545, size = 23, normalized size = 0.85 \begin{align*} \frac{1}{2} \,{\left (b x^{2} + 2 \, a x\right )} \sqrt{c} \mathrm{sgn}\left (x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]